package com.atguigu.srb.core.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ClassName: UserInfoDetailsVO
 * Package: com.atguigu.srb.core.pojo.vo
 * Description:
 *
 * @Author 刘强
 * @Create 2024/4/21 11:11
 * @Version 1.0
 */
@ApiModel("用户登陆成功后回显的数据")
@Data
public class UserInfoDetailsVO {
    @ApiModelProperty(value = "编号")
    @TableId(value = "id")
    private Long id;
    @ApiModelProperty(value = "1：出借人 2：借款人")
    private Integer userType;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String headImg;
    @ApiModelProperty(value = "用户积分")
    private Integer integral;

}
